package com.foreknow.demo6;

import java.util.ArrayList;
import java.util.List;

public class A {
    public List<Person> getAll() {
        List<Person> list = new ArrayList<>();
        Person p = new Person(10);
        p.setAge(10);
        list.add(p);
        return list;
    }
}
